﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Plugin.Easy.Wms.Enum.StorageLocation;
using Admin.NET.Plugin.Easy.Wms.Enum;
using Admin.NET.Plugin.Easy.Wms.Util;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Plugin.Easy.Wms.Services.StorageLocation.DTO;

/// <summary>
/// 添加库位输入参数
/// </summary>
public class StorageLocationAddInput
{

    /// <summary>
    /// 库位编号
    /// </summary>
    public string? StorageLocation_Num { get; set; }

    /// <summary>
    /// 库位名称
    /// </summary>
    [SugarColumn()]
    public string StorageLocation_Name { get; set; }

    /// <summary>
    /// 库位状态
    /// </summary>
    public Easy_Wms_GeneralStatusEnum StorageLocation_Status { get; set; } = Easy_Wms_GeneralStatusEnum.Enable;

    /// <summary>
    /// 库位占用状态
    /// </summary>
    public Easy_Wms_StorageLocationOccupyEnum StorageLocation_Occupy { get; set; } = Easy_Wms_StorageLocationOccupyEnum.Occupied;

    /// <summary>
    /// 库位类别
    /// </summary>
    public string? StorageLocation_Type { get; set; }

    /// <summary>
    /// 库位备注
    /// </summary>
    public string? StorageLocation_Remake { get; set; }

    /// <summary>
    /// 区域id
    /// </summary>
    public long? Area_Id { get; set; }
}


/// <summary>
/// 修改库位输入参数
/// </summary>
public class StorageLocationUpdateInput
{
    /// <summary>
    /// 库位id
    /// </summary>
    [Required(ErrorMessage = "Id不能为空")]
    public long Id { get; set; }

    /// <summary>
    /// 库位名称
    /// </summary>
    public string? StorageLocation_Name { get; set; }

    /// <summary>
    /// 库位状态
    /// </summary>
    public Easy_Wms_GeneralStatusEnum? StorageLocation_Status { get; set; }

    /// <summary>
    /// 库位占用状态
    /// </summary>
    public Easy_Wms_StorageLocationOccupyEnum? StorageLocation_Occupy { get; set; }

    /// <summary>
    /// 库位类别
    /// </summary>
    public string? StorageLocation_Type { get; set; }

    /// <summary>
    /// 库位备注
    /// </summary>
    public string? StorageLocation_Remake { get; set; }

    /// <summary>
    /// 区域id
    /// </summary>
    public long? Area_Id { get; set; }
}

/// <summary>
/// 删除库位输入参数
/// </summary>
public class StorageLocationDeleteInput : BaseIdInput
{

}

/// <summary>
/// 分页查询库位信息
/// </summary>
public class StorageLocationPageInput : BasePage
{
    /// <summary>
    /// 库位编号
    /// </summary>
    public string? StorageLocation_Num { get; set; }

    /// <summary>
    /// 库位名称
    /// </summary>
    public string? StorageLocation_Name { get; set; }

    /// <summary>
    /// 库位状态
    /// </summary>
    public Easy_Wms_GeneralStatusEnum? StorageLocation_Status { get; set; }

    /// <summary>
    /// 库位占用状态
    /// </summary>
    public Easy_Wms_StorageLocationOccupyEnum? StorageLocation_Occupy { get; set; }

    /// <summary>
    /// 库位类别
    /// </summary>
    public string? StorageLocation_Type { get; set; }

    /// <summary>
    /// 区域id
    /// </summary>
    public long? Area_Id { get; set; }




}


